<%@ page language="java" contentType="text/html; charset=UTF-8"
         isELIgnored="false" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib uri="/mytag" prefix="yjd"%>
<body>
<div class="wrap">
    <div class="nav">
        <div class="return">
            <a href='<yjd:url url="/fundChannel/settlement/list"/>'>返回上一页</a>
        </div>
    </div>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>系统订单id</td>
                <td>第三方订单号</td>
                <td>资金渠道</td>
                <td>借款人</td>
                <td>订单金额</td>
                <td>贷款金额</td>
                <td>贷款利率</td>
                <td>还款方式</td>
                <td>商户名称</td>
                <td>收款人</td>
                <td>收款银行卡号</td>
                <td>订单状态</td>
                <td>创建时间</td>
            </tr>
            </thead>
            <tbody id="J_word_list">
            <c:forEach items="${pager.pagerModel.dataList }" var="item" >
                <tr>
                    <td>${item.order_id}</td>
                    <td>${item.trade_no}</td>
                    <td>${item.strMap.channel_name}</td>
                    <td>${item.strMap.user_name}</td>
                    <td>${item.price}</td>
                    <td>${item.loan_price}</td>
                    <td>${item.loan_rate}</td>
                    <td><c:if test="${item.repayment_type==1}">等额本息</c:if><c:if test="${item.repayment_type==2}">每月还息，到期还本</c:if></td>
                    <td>${item.strMap.org_name}</td>
                    <td>${item.payee_name}</td>
                    <td>${item.payee_bank_no}</td>
                    <td>
                        <c:if test="${item.status==1}">申请中</c:if>
                        <c:if test="${item.status==2}">审核拒绝</c:if>
                        <c:if test="${item.status==3}">审核通过</c:if>
                        <c:if test="${item.status==4}">订单完成</c:if>
                    </td>
                    <td>${item.strMap.create_time}</td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
        <!-- 分页 -->
        <%@ include file="../public/pager/pager.pagination.jsp" %>
    </div>
</div>
<script>
    YJD.use('AppAdminCommon');
</script>
</body>